<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
    <HelloWorld msg="Welcome to Your Vue.js App"/>
    <div>
      <Seats :message="parentMessage"/>
    </div>
  </div>
</template>

<script>
// @ is an alias to /src
import HelloWorld from '@/components/HelloWorld.vue'
import Seats from '@/components/seats.vue'

export default {
  name: 'Home',
  data(){
    return {
      parentMessage:"我来自父组件1111"
    }
  },
  components: {
    HelloWorld,
    Seats
  }
}
</script>
